import { createApp } from 'vue'
import './style.css'
import App from './App.vue'


import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import * as Icons from '@element-plus/icons-vue'
import router from './router/index.js'

import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App)
for (let i in Icons) {
        app.component(i, Icons[i])
    }
app.use(router).use(ElementPlus,{
    locale:zhCn
})
app.mount("#app")

